package com.thinking.dubbo.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * @ClassName RedisConfig
 * @Description TODO
 * @Author tangsixiang@gmail.com
 * @Date 2023/6/3 14:35
 * @Version 1.0
 */

@Data
@Configuration
public class RedisConfig {

    @Value("${business.redis.user.host}")
    private  String userHost;
    @Value("${business.redis.user.database}")
    private  Integer userDatabase;
    @Value("${business.redis.user.port}")
    private  Integer userPort;
    @Value("${business.redis.user.password}")
    private  String  userPassword;

    @Value("${business.redis.room.host}")
    private  String roomHost;
    @Value("${business.redis.room.database}")
    private  Integer roomDatabase;
    @Value("${business.redis.room.port}")
    private  Integer roomPort;
    @Value("${business.redis.room.password}")
    private  String  roomPassword;

    @Value("${business.redis.assets.host}")
    private  String assetsHost;
    @Value("${business.redis.assets.database}")
    private  Integer assetsDatabase;
    @Value("${business.redis.assets.port}")
    private  Integer assetsPort;
    @Value("${business.redis.assets.password}")
    private  String  assetsPassword;


}
